<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:2876/Services/AdvertiseSer.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/Tebbee.Business.Server" />
  <xs:import schemaLocation="http://localhost:2876/Services/AdvertiseSer.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/Tebbee.Business.Server.Model" />
  <xs:import schemaLocation="http://localhost:2876/Services/AdvertiseSer.svc?xsd=xsd4" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:element name="Advertise_GetByCatId">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="searchString" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="currentPage" type="xs:int" />
        <xs:element minOccurs="0" name="catId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="Advertise_GetByCatIdResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/Tebbee.Business.Server" minOccurs="0" name="Advertise_GetByCatIdResult" nillable="true" type="q1:ArrayOfAdvertise_GetByCatId_Result" />
        <xs:element minOccurs="0" name="totalPage" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAdvertise">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="id" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAdvertiseResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/Tebbee.Business.Server" minOccurs="0" name="GetAdvertiseResult" nillable="true" type="q2:Advertise_Get_Result" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAdvertiseLink">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="id" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAdvertiseLinkResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/Tebbee.Business.Server" minOccurs="0" name="GetAdvertiseLinkResult" nillable="true" type="q3:ArrayOfAdvertise_GetLink_Result" />
        <xs:element minOccurs="0" name="type" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="Advertise_DeleteComment">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="commentId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="Advertise_DeleteCommentResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="Advertise_DeleteCommentResult" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ViewAdv">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="userName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="advId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ViewAdvResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/Tebbee.Business.Server" minOccurs="0" name="ViewAdvResult" nillable="true" type="q4:Advertise_ViewAdv_Result" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="Advertise_GetImage">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="id" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="Advertise_GetImageResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q5="http://schemas.datacontract.org/2004/07/Tebbee.Business.Server" minOccurs="0" name="Advertise_GetImageResult" nillable="true" type="q5:ArrayOfAdvertise_GetImage_Result" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="Advertise_Like">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="userName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="advId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="Advertise_LikeResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="Advertise_Rate">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="userName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="advId" type="xs:int" />
        <xs:element minOccurs="0" name="star" type="xs:double" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="Advertise_RateResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="Advertise_Subcribe">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="userName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="advId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="Advertise_SubcribeResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="Advertise_GetComment">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="id" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="Advertise_GetCommentResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q6="http://schemas.datacontract.org/2004/07/Tebbee.Business.Server" minOccurs="0" name="Advertise_GetCommentResult" nillable="true" type="q6:ArrayOfAdvertise_GetComment_Result" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="Advertise_GetMedia">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="id" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="Advertise_GetMediaResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q7="http://schemas.datacontract.org/2004/07/Tebbee.Business.Server" minOccurs="0" name="Advertise_GetMediaResult" nillable="true" type="q7:ArrayOfAdvertise_GetMedia_Result" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="Advertise_SendComment">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="id" type="xs:int" />
        <xs:element minOccurs="0" name="userName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="content" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="Advertise_SendCommentResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q8="http://schemas.datacontract.org/2004/07/Tebbee.Business.Server" minOccurs="0" name="Advertise_SendCommentResult" nillable="true" type="q8:Advertise_SendComment_Result" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAdvertiseTop">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="type" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAdvertiseTopResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q9="http://schemas.datacontract.org/2004/07/Tebbee.Business.Server" minOccurs="0" name="GetAdvertiseTopResult" nillable="true" type="q9:ArrayOfAdvertise_TOP_Result" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="Advertise_Search">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="searchString" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="Advertise_SearchResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q10="http://schemas.datacontract.org/2004/07/Tebbee.Business.Server" minOccurs="0" name="Advertise_SearchResult" nillable="true" type="q10:ArrayOfAdvertise_Search_Result" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="AddNewAdvertise">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q11="http://schemas.datacontract.org/2004/07/Tebbee.Business.Server.Model" minOccurs="0" name="adv" nillable="true" type="q11:AdvertiseUpload" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="AddNewAdvertiseResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="AddNewAdvertiseResult" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="AddNewCatMap">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="advId" type="xs:int" />
        <xs:element minOccurs="0" name="catId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="AddNewCatMapResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="AddNewCatMapResult" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="AddNewMedia">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="advId" type="xs:int" />
        <xs:element minOccurs="0" name="mediaLink" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="AddNewMediaResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="AddNewMediaResult" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ListAdvertising">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="startRow" type="xs:int" />
        <xs:element minOccurs="0" name="elementQ" type="xs:int" />
        <xs:element minOccurs="0" name="orderBy" type="xs:int" />
        <xs:element minOccurs="0" name="searchString" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ListAdvertisingResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q12="http://schemas.datacontract.org/2004/07/Tebbee.Business.Server" minOccurs="0" name="ListAdvertisingResult" nillable="true" type="q12:ArrayOfAdvertise_List_Result" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetCategoriesByAdv">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="advId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetCategoriesByAdvResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q13="http://schemas.datacontract.org/2004/07/Tebbee.Business.Server" minOccurs="0" name="GetCategoriesByAdvResult" nillable="true" type="q13:ArrayOfCatMap_GetByAdv_Result" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetMediaByAdv">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="advId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetMediaByAdvResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q14="http://schemas.datacontract.org/2004/07/Tebbee.Business.Server" minOccurs="0" name="GetMediaByAdvResult" nillable="true" type="q14:ArrayOfMedia_GetByAdv_Result" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DelAdv">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="advId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DelAdvResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="DelAdvResult" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="EditAdv">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q15="http://schemas.datacontract.org/2004/07/Tebbee.Business.Server" minOccurs="0" name="adv" nillable="true" type="q15:Advertisement" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="EditAdvResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="EditAdvResult" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetCommentsByAdv">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="advId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetCommentsByAdvResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q16="http://schemas.datacontract.org/2004/07/Tebbee.Business.Server" minOccurs="0" name="GetCommentsByAdvResult" nillable="true" type="q16:ArrayOfComment_GetByAdv_Result" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="EditComment">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q17="http://schemas.datacontract.org/2004/07/Tebbee.Business.Server" minOccurs="0" name="cm" nillable="true" type="q17:Comment" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="EditCommentResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="EditCommentResult" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetDelImg">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="advId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetDelImgResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q18="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="GetDelImgResult" nillable="true" type="q18:ArrayOfstring" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>